﻿using NewRetail.Application.Components.Goods.Entity;
using NewRetail.Application.Core.Entity;
using System;

namespace NewRetail.Application.Components.Warehouse.Entity
{
    public class PromoteSalesFullCut : BaseEntity, IReceiptEntity, IWarehouseEntity
    {
        public string warehouseID { get; set; }
        public decimal fullAmount { get; set; }
        public decimal cutAmount { get; set; }
        public decimal maxDiscountAmout { get; set; }
        public int priorityLevel { get; set; }
        public bool isMemberOnly { get; set; }
        public DateTime startTime { get; set; }
        public DateTime endTime { get; set; }
        public string receiptNo { get; set; }
        public DateTime receiptDate { get; set; }
        public bool isAuditing { get; set; }
        public string remark { get; set; }
        public int? operateUserID { get; set; }
        public DateTime? operateTime { get; set; }
        public bool isIntegral { get; set; }

        public Warehouse Warehouse { get; set; }
        //add by cl 20240311
        public GoodsCategory[] GoodsCategory { get; set; }
        public PromoteSalesFullCutCategory[] PromoteSalesFullCutCategory { get; set; }
    }
}
